package com.test.okhttp.request;

import java.util.*;
import java.util.concurrent.*;

/**
 * @author 代廷波
 * @className: RequestParams
 * @description:
 * @create 2018/11/13 0013-14:27
 **/
public class RequestParams {

    public ConcurrentHashMap<String,String> urlParams = new ConcurrentHashMap<String, String>();

    public ConcurrentHashMap<String,Object> fileParams = new ConcurrentHashMap<String, Object>();

    public RequestParams() {
    }

    public RequestParams(Map<String,String> source){
        if (source != null){
            for (Map.Entry<String, String> entry : source.entrySet()) {
                fileParams.put(entry.getKey(),entry.getKey());
            }
        }

    }

}
